package com.leadbank.springboot.example.model;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by hp on 2018/1/8.
 */
@Component
@Data
public class BlogProperties {

    @Value(value = "${com.didispace.blog.name}")
    private String name;

    @Value(value = "${com.didispace.blog.title}")
    private String title;
}
